package com.wn.service.impl;

import com.wn.dao.RoleDao;
import com.wn.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    RoleDao roleDao;

    @Override
    public String findByAccount(String username) {
        return roleDao.findByAccount(username);
    }
}
